#!/bin/bash
# deletes all data from Solr repository
# takes solr server name as argument
# you must run commit after delete
curl http://$1/solr/update -F stream.file=`pwd`/deleteAll.xml